<template>
  <div class="m-header">
    <div class="icon"></div>
    <h1 class="header-title">Chicken Music</h1>
    <router-link to="/user" tag="div" class="mine">
      <i class="icon-mine"></i>
    </router-link>
  </div>
</template>
<script>
export default {
  name: 'MHeader'
}
</script>
<style lang="scss" scoped>
@import 'common/scss/variable.scss';
@import 'common/scss/mixin.scss';
.m-header{
  width: 100%;
  text-align: center;
  position: relative;
  .icon{
    display: inline-block;
    width: 0.60rem;
    height: 0.64rem;
    @include bg-image('logo');
    position: relative;
    top: 0.2rem;
  }
  .header-title{
    display: inline-block;
    color: $color-theme;
    font-size: $font-size-large;
    line-height: 0.64rem;
  }
  .mine{
    position: absolute;
    top: 0.3rem;
    right: 0;
    .icon-mine{
      display: block;
      padding: 0.24rem;
      font-size: 0.4rem;
      color: $color-theme;
    }
  }
}
</style>
